// pages/index/comps/funcNav/funcNav.js
Component({
    /**
     * 组件的属性列表
     */
    properties: {
        nowDate: String
    },

    /**
     * 组件的初始数据
     */
    data: {

    },

    /**
     * 组件的方法列表
     */
    methods: {
        goshopKeeperGifts: function() {
            wx.navigateTo({
                url: '/pages/goods/shopKeeperGifts/shopKeeperGifts'
            })
        },
        goStarIndex: function() {
            // wx.showToast({
            //     title: '暂未开放，敬请期待！',
            //     icon: 'none',
            //     duration: 1000
            // })
            wx.navigateTo({
                url: '/pages/star/starIndex/starIndex'
            })
        },
        goGroundPush: function() {
            // wx.showToast({
            //     title: '暂未开放，敬请期待！',
            //     icon: 'none',
            //     duration: 1000
            // })
            wx.navigateTo({
                url: '/pages/groundPush/groundPushIndex'
            })
        },
        goRankList: function() {
            wx.showToast({
                title: '暂未开放，敬请期待！',
                icon: 'none',
                duration: 1000
            })
            // wx.navigateTo({
            //     url: '/pages/rank/rankList/rankList'
            // })
        },
        goHot: function() {
            wx.navigateTo({
                url: '/pages/goods/shelf/shelf',
            })
        },
        goGoodsList: function(e) {
            wx.navigateTo({
                url: '/pages/goods/goodsList/goodsList?classId=' + e.currentTarget.dataset.type
            })
        },
        goShare: function() {
            // wx.navigateTo({
            //     url: '/pages/share/share'
            // })
            wx.navigateTo({
              url: '/packageA/pages/livePlay/livePlay',
            })
        },
        goShopDemo: function() {
            // wx.showToast({
            //     title: '暂未开放，敬请期待！',
            //     icon: 'none',
            //     duration: 2000
            // })
            wx.navigateTo({
                url: '/pages/shopDemo/shopDemo/shopDemo'
            })
        },
        goShopApply: function() {
            wx.navigateTo({
                url: '/pages/shopManager/shopBuy/shopBuy'
            })
        },
        goMeetting: function() {
            wx.showToast({
                title: '暂未开放，敬请期待！',
                icon: 'none',
                duration: 2000
            })
        },
        goZeroBuy: function() {
            wx.navigateTo({
                url: '/pages/zeroBuy/index/index?type=0'
            })
        }
    }
})